home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / MPI_Wtime.z / MPI_Wtime
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMPPPPIIII____WWWWTTTTIIIIMMMMEEEE((((3333))))                                                      MMMMPPPPIIII____WWWWTTTTIIIIMMMMEEEE((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      MMMMPPPPIIII____WWWWttttiiiimmmmeeee - Returns an elapsed time on the calling processor
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      C:
  13.  
  14.           #include <mpi.h>
  15.  
  16.           double MPI_Wtime()
  17.  
  18.  
  19.      C++:
  20.  
  21.           #include <mpi.h>
  22.  
  23.           double Wtime()
  24.  
  25.  
  26.      Fortran:
  27.  
  28.           INCLUDE "mpif.h" (or USE MPI)
  29.  
  30.           DOUBLE PRECISION TIME
  31.  
  32.           TIME=MPI_WTIME()
  33.  
  34.  
  35. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
  36.      This release implements the MPI 1.2 standard, as documented by the MPI
  37.      Forum in the spring 1997 release of _M_P_I:  _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
  38.      _S_t_a_n_d_a_r_d.
  39.  
  40. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  41.      The MMMMPPPPIIII____WWWWttttiiiimmmmeeee routine returns the elapsed wall-clock time in seconds
  42.      since some time in the past on the calling processor.  This routine is
  43.      intended to be a high-resolution, elapsed (or wall) clock.  See
  44.      MMMMPPPPIIII____WWWWttttiiiicccckkkk(3) to determine the resolution of MMMMPPPPIIII____WWWWttttiiiimmmmeeee.
  45.  
  46. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
  47.      Floating-point elapsed time in seconds.   Note that calls made at the
  48.      same time to MPI_Wtime() on different nodes running the same program may
  49.      yield different values.  The time returned is not necessarily the elapsed
  50.      wall-clock run-time of the calling process.
  51.  
  52.      If a program is checkpointed and restarted, values returned by
  53.      MMMMPPPPIIII____WWWWttttiiiimmmmeeee(3) following the restart may be smaller than those returned
  54.      before the checkpoint.
  55.  
  56. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  57.      MMMMPPPPIIII____WWWWttttiiiicccckkkk(3)
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMPPPPIIII____WWWWTTTTIIIIMMMMEEEE((((3333))))                                                      MMMMPPPPIIII____WWWWTTTTIIIIMMMMEEEE((((3333))))
  71.  
  72.  
  73.  
  74.      MMMMPPPPIIII____AAAATTTTTTTTRRRR____GGGGEEEETTTT(3) for the discussion of MPI_WTIME_IS_GLOBAL.
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.